# 练习题1. 已知矩形长和宽分别是5,4;
# 使用Python代码求周长C和面积S

length = 5
width = 4

# 1. 求周长
c = (length + width) * 2
print("此矩形周长为:", c)

# 2.求面积
s = length * width

print("此矩形面积为:", s)